package cn.xinfei.xdecision.common.model.decisionflow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by maying on 2023/03/05.
 **/
@Data
public class NodeRespVo {

	@ApiModelProperty(value = "节点id", example = "1")
	private Long id;

	@ApiModelProperty(value = "引擎编码", required = true, example = "jcl_001")
	private String engineCode;

	@ApiModelProperty(value = "版本id", required = true, example = "1024")
	private Long versionId;

	@ApiModelProperty(value = "节点编码", required = true, example = "jcl_001_1")
	private String nodeCode;

	@ApiModelProperty(value = "节点类型", required = true, example = "start")
	private String nodeType;

	@ApiModelProperty(value = "节点名称", example = "规则集")
	private String nodeName;

	@ApiModelProperty(value = "节点顺序", example = "1")
	private Integer nodeOrder;

	@ApiModelProperty(value = "节点信息")
	private String nodeJson;

	@ApiModelProperty(value = "节点横坐标")
	private Double nodeX;

	@ApiModelProperty(value = "节点纵坐标")
	private Double nodeY;

	@ApiModelProperty(value = "节点脚本")
	private String nodeScript;

	@ApiModelProperty(value = "下个节点codes")
	private String nextNodeCodes;

	@ApiModelProperty(value = "父节点ids")
	private String parentId;

	@ApiModelProperty(value = "目标节点id")
	private String targetId;

}
